Method: Gtk::TreePath#<=>

Defined in:
lib/gtk3/tree-path.rb

#<=>(other) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/gtk3/tree-path.rb', line 21

def <=>(other)
  if other.is_a?(self.class)
    compare(other)
  else
    nil
  end
end